package com.cloud.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloud.system.entity.ApplyBanner;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 应用轮播图
 *
 * @author yzj
 * @since 2022-08-12
 */
@Mapper
public interface SysApplyBannerMapper extends BaseMapper<ApplyBanner> {

    /**
     * 应用轮播图分页
     *
     * @author yzj
     */
    public List<ApplyBanner> selectSysApplyBannerList(@Param("param") ApplyBanner param);

    /**
     * 修改轮播状态
     *
     * @param status
     * @param bannerId
     * @return
     */
    public int updateBannerStatus(@Param("status") String status, @Param("bannerId") Long bannerId);

}
